<?php
namespace Library\Dal;

interface AdapterInterface
{
    public function __construct( $settings );

    public function getConnection();
    public function setAttr( $key, $value );
    public function getAttr( $key );
    public function connect();
    public function close();
    public function prepare( $query );
    public function query( $query );
    public function fetchRow( $query );
    public function fetchAll( $query );
    public function countRows( $query );
	public function getLastId();
}